package com.yesido.conroller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yuliang
 * @description
 * @date 2021-08-01 16:04
 */
@RestController
@RequestMapping("/con")
public class Hello {
    @GetMapping("/hello/{id}")
    public String hello(@PathVariable String id ){
        return id;
    }
}
